None
This is the validation notebook that displays the regression tests for the MIRI instrument in the JWST calibration pipeline. This notebook runs and displays the regression tests that are performed as a part of the normal software continuous integration process. For more information on the pipeline visit the links below.
Pipeline description: https://jwst-pipeline.readthedocs.io/en/latest/index.html
Pipeline code: https://github.com/spacetelescope/jwst
JWST regression tests are located in the regtest folder of the pipeline within the GitHub repository.
These are terms or acronymns used in this notebook that may not be known a general audience.
JWST: James Webb Space Telescope
MIRI: Near-Infrared Camera
Regression testing is a software testing method which checks if the pipeline step produces the expected outcome by comparing an input file with a truth file. Truth files for testing are stored in Artifactory.
Data used for regression tests is stored in Artifactory, and consists of a mix of simulated and ground testing data for the different instruments and modes.
import os
if 'CRDS_CACHE_TYPE' in os.environ:
if os.environ['CRDS_CACHE_TYPE'] == 'local':
os.environ['CRDS_PATH'] = os.path.join(os.environ['HOME'], 'crds', 'cache')
elif os.path.isdir(os.environ['CRDS_CACHE_TYPE']):
os.environ['CRDS_PATH'] = os.environ['CRDS_CACHE_TYPE']
print('CRDS cache location: {}'.format(os.environ['CRDS_PATH']))
CRDS cache location: /tmp/crds_cache
import tempfile
import os
import pytest
import jwst
from IPython.display import IFrame
from IPython.core.display import HTML